/* 插槽 */
const ButtonSlot = {
    template: `
        <div style="border:1px solid rgba(0,0,0,0.1); padding:10px; margin:10px auto;">
        <slot name="main">默认插槽内容</slot>
        </div>
    `
};

app.component('button-slot', ButtonSlot);